package com.yjd.comm.easycard.util;



/**
 * <b>description</b>：<br>
 * <b>time</b>：2015-4-6上午11:18:51 <br>
 * <b>author</b>： SongJian
 */
public class EasycardUtil {

	public static final Long FIRST_CARD_NUM = 8821788820140100L;
	
	private static EasycardUtil singleton=new EasycardUtil();
	
	private EasycardUtil(){
	}
	
	public static EasycardUtil getInstance(){
		return singleton;
	}
	
	/**
	 * 
	 * 生成易借卡卡号
	 * 
	 * @param payroll_hospital_id
	 * @param card_id
	 * @return
	 */
	public Long generateCard(Long id) {
		Long ext = FIRST_CARD_NUM + id;
		return ext;
	}
 
}
